package com.example.highway.entity;

import com.alibaba.fastjson.annotation.JSONField;

import javax.persistence.*;

@Entity
@Table(name = "lnspectorAdmin")
public class InspectorAdmin {
    @Id
    @Column(name = "AID")
    @JSONField(name = "AID")
    private String AID;

    @Column(name = "password")
    @JSONField(name = "password")
    private String password;
    @JSONField(name = "phone")
    @Column(name = "phone")
    private String phone;

    public String getAID() {
        return AID;
    }

    public void setAID(String AID) {
        this.AID = AID;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "InspectorAdmin{" +
                "AID='" + AID + '\'' +
                ", password='" + password + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }
}
